%h1 Edit Game Configuration

-semantic_form_for [:admin,@game_config], :html => { :multipart => true } do |form|
  =form.error_messages
  -form.inputs do  
    =game_header_image_html(@game_config, "Header Image", "Title Header Image", "Not Set")
    =form.input :header_image, :hint=>"Game Header Image"
    =game_background_image_html(@game_config, "background Image", "Title background Image", :medium, "Not Set")
    =form.input :background_image, :hint=>"Game Header Image"
    =game_image_html(@game_config, "Game Image", "Title game Image", :medium)
    =form.input :game_image, :hint=>"Game Header Image"
    
    =form.input :name, :hint=>"Game Name"
    =form.input :welcome_line, :hint=>"Fisr Line show to the user"
    =form.input :tag_line, :hint=>"Line after the Game Welcome Message"
    =form.input :description, :hint=>"Description of the Game"
    =form.input :max_tentatives, :hint=>"max tentatives"
    =form.input :points_multiplier, :hint=>"Points Multiplier"
    
    
    =form.input :invitation_action_text
    =form.input :invitation_accept_label
    =form.input :invitation_content
    
    =form.input :publish_message
    =form.input :publish_att_name
    =form.input :publish_att_caption
    =form.input :publish_att_description
    =form.input :publish_action_link_text
    =form.input :publish_user_message_prompt
    =form.input :publish_auto
    
    =form.input :js_messages, :hint=>"JS Messages"
   
   
    
    
  -form.buttons do
    =form.commit_button :label=>"Update Game Configuration"